package com.md.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.md.value.GlobalConfigTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("更新配置请求实体")
public class GlobalConfigRequest {
  @ApiModelProperty("主键id")
  @JsonFormat(shape = JsonFormat.Shape.STRING)
  private Long id;
  /**
   * 配置类型
   */
  @ApiModelProperty("配置类型")
  private GlobalConfigTypeEnum type;
  /**
   * 配置值
   */
  @ApiModelProperty("配置值")
  private String value;
}
